<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.prime.com.tr/ui">

    <h:head>
        <title>Yönetici Ana Sayfası</title>
        <link href="style.css" rel="stylesheet" type="text/css"></link>
        <div style="text-align: center;"><h:graphicImage url="/resimler/itu_Logo.png"></h:graphicImage></div>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true&amp;amp;language=tr"></script> 

    </h:head>
    <h:body>

                            
<h:form prependId="false" >
            <div id="wrapper">
                <div id="logo">

                </div>
                <div id="header">
                    <!-- 		<div id="menu">
                    
                            </div>    -->
                </div>
                <div class="page">
                    <div id="page-bgtop">

<div id="dummy"></div>
                        <p:panel id="panelsidebar" header="Erişim Noktaları">
                            <ui:include src="Menu.xhtml"/>
                        </p:panel>

                        <!-- end #sidebar -->
                        
                        <div id="content">
                            <p:panel id="panel">
 
<h:form id="form" rendered="#{AdminBean.session eq true }">

  
    <p:panel header="Mekik Bilgilerini Güncelleme Sayfası">
                                <h:panelGrid columns="2">
                                    <h:outputText value="Bilgi:"/>
                                    <h:inputText value="#{AdminBean.shuttleBus.information}"/>
                                    <h:outputText value="Mekik Numarası:"/>
                                    <h:inputText value="#{AdminBean.shuttleBus.shuttleNo}"/>

                                    <p:commandButton value="Güncelle" ajax="false" action="#{AdminBean.editShuttleBus}"/>
                                    <p:commandButton value="Sil" ajax="false" action="#{AdminBean.removeShuttleBus}"/>
                                 

                                </h:panelGrid>

      
                            </p:panel> 


</h:form>
                                
  <h:form id="formas" rendered="#{AdminBean.session ne true }">
                                <h:panelGrid>
				<h:outputText value="Bu sayfaya erişim yetkiniz yoktur, lütfen ynetici olarak giriş yaparak tekrar deneyiniz. !"></h:outputText>
				
			</h:panelGrid>
  </h:form>                        
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                            </p:panel> 

                        </div>
                        <!-- end #content -->

                        <div style="clear: both;">&nbsp;</div>
                    </div>

                    <!-- end #page -->

                </div>
                <div id="footer-bgcontent">
                    <div id="footer" align="center">
                        <p>İTÜ Mekik Servis Takip Programı - 2011</p>
                    </div>
                </div>
                <!-- end #footer -->
            </div>

        </h:form>
    </h:body>
</html>






